package com.pubinfo.passbook.common.model.vo.contract;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "SyncContractCostVo", description = "同步合同成本信息返回数据")
public class SyncContractCostVo implements Serializable {

    @ApiModelProperty("WBS编码")
    @JSONField(name = "POSID")
    private String posid;

    @ApiModelProperty("WBS名称")
    @JSONField(name = "POST1")
    private String post1;

    @ApiModelProperty("WBS要素")
    @JSONField(name = "PSPNR")
    private String pspnr;

    @ApiModelProperty("科目编码")
    @JSONField(name = "HKONT")
    private String hkont;

    @ApiModelProperty("科目名称")
    @JSONField(name = "KMMC")
    private String kmmc;

    @ApiModelProperty("金额")
    @JSONField(name = "DMBTR")
    private BigDecimal dmbtr;

    @ApiModelProperty("时间戳")
    @JSONField(name = "CREATETIME")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
